Skip to content

install: with -t, check if we aren't passed a file#5686

Merged
cakebaker merged 1 commit intouutils:mainfrom
sylvestre:install-basic
Dec 23, 2023
Merged

install: with -t, check if we aren't passed a file#5686
cakebaker merged 1 commit intouutils:mainfrom
sylvestre:install-basic

Conversation

@sylvestre
Copy link
Contributor

Should pass tests/install/basic-1

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/basic-1 is no longer failing!
Skipping an intermittent issue tests/tail/inotify-dir-recreate

@sylvestre sylvestre marked this pull request as ready for review December 21, 2023 08:05
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/basic-1 is no longer failing!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one situation not handled by this solution: if the target ends with a slash. With GNU, install -t sub/b -Dv a and install -t sub/b/ -Dv a both lead to the same error. With uutils, install -t sub/b/ -Dv a shows a "creating directory" message followed by a "failed to create" message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that it is a different problem in this case, no ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, though it is related. We can fix it in another PR.

Should pass tests/install/basic-1
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/basic-1 is no longer failing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants